package com.example.springboot01.model;

import lombok.Data;

import java.io.Serializable;

/**
 * @Auther: zrd
 * @Date: 2022/4/25/04/25/18:07
 * @Description: com.example.springboot01.model
 */
@Data
public class Teacher implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private String workNumber;
    private String idCard;
    private String school;
    private String sex;
    private int number;
    private static String test;
    public Teacher() {
    }

    public Teacher(String name, String workNumber, String idCard, String school) {
        this.name = name;
        this.workNumber = workNumber;
        this.idCard = idCard;
        this.school = school;
    }

    @Override
    public String toString() {
        return '\n'+"Teacher{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", workNumber='" + workNumber + '\'' +
                ", idCard='" + idCard + '\'' +
                ", school='" + school + '\'' +
                ", sex='" + sex + '\'' +
                ", number='" + number + '\'' +
                '}';
    }
}
